{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\Old papers\short union paper\FM RR1\FM data archive code and tables\Table 4 log file.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}17 Feb 2025, 13:53:08

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. didregress (f1useconsultant logat mtbrW netppeW firmriskW roaW mraw_window_1W lfirmage) (did), group(unionized) aeq time(fyear) vce(cluster gvkey)
{res}
{txt}Number of groups and treatment time

Time variable: {result:fyear}
Control:       {result:did} = {result:0}
Treatment:     {result:did} = {result:1}
{res}{txt}{hline 13}{c TT}{hline 10}{hline 11}
{col 14}{c |}   Control{col 25}  Treatment
{hline 13}{c +}{hline 10}{hline 11}
{res}Group        {txt}{c |}
{space 3}unionized {c |}{col 14}{res}{space 1}        1{col 25}{space 2}        1
{txt}{hline 13}{c +}{hline 10}{hline 11}
{res}Time         {txt}{c |}
{space 5}Minimum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{space 5}Maximum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{hline 13}{c BT}{hline 10}{hline 11}

{col 1}Difference-in-differences regression{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:3,605}
{txt}Data type: Repeated cross-sectional

{res}{txt}{ralign 80:(Std. err. adjusted for {res:574} clusters in {res:gvkey})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}f1useconsult~t{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATET           {txt}{c |}
{space 11}did {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} .0397674{col 28}{space 2} .0208727{col 39}{space 1}    1.91{col 48}{space 3}0.057{col 56}{space 4}-.0012288{col 69}{space 3} .0807637
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Controls       {txt}{c |}
{space 9}logat {c |}{col 16}{res}{space 2} .0340212{col 28}{space 2} .0086574{col 39}{space 1}    3.93{col 48}{space 3}0.000{col 56}{space 4} .0170171{col 69}{space 3} .0510254
{txt}{space 9}mtbrW {c |}{col 16}{res}{space 2} .0023815{col 28}{space 2} .0084926{col 39}{space 1}    0.28{col 48}{space 3}0.779{col 56}{space 4}-.0142988{col 69}{space 3} .0190619
{txt}{space 7}netppeW {c |}{col 16}{res}{space 2} -.016584{col 28}{space 2} .0430482{col 39}{space 1}   -0.39{col 48}{space 3}0.700{col 56}{space 4}-.1011355{col 69}{space 3} .0679675
{txt}{space 5}firmriskW {c |}{col 16}{res}{space 2} .0234575{col 28}{space 2} .0141376{col 39}{space 1}    1.66{col 48}{space 3}0.098{col 56}{space 4}-.0043103{col 69}{space 3} .0512254
{txt}{space 10}roaW {c |}{col 16}{res}{space 2}-.0065637{col 28}{space 2}  .063061{col 39}{space 1}   -0.10{col 48}{space 3}0.917{col 56}{space 4}-.1304227{col 69}{space 3} .1172953
{txt}mraw_window_1W {c |}{col 16}{res}{space 2}-.0066432{col 28}{space 2}  .011873{col 39}{space 1}   -0.56{col 48}{space 3}0.576{col 56}{space 4}-.0299631{col 69}{space 3} .0166767
{txt}{space 6}lfirmage {c |}{col 16}{res}{space 2} .0017921{col 28}{space 2} .0097721{col 39}{space 1}    0.18{col 48}{space 3}0.855{col 56}{space 4}-.0174013{col 69}{space 3} .0209856
{txt}{space 14} {c |}
{space 9}fyear {c |}
{space 9}2007  {c |}{col 16}{res}{space 2} .0022552{col 28}{space 2} .0148942{col 39}{space 1}    0.15{col 48}{space 3}0.880{col 56}{space 4}-.0269987{col 69}{space 3}  .031509
{txt}{space 9}2008  {c |}{col 16}{res}{space 2}-.0596362{col 28}{space 2} .0261645{col 39}{space 1}   -2.28{col 48}{space 3}0.023{col 56}{space 4}-.1110263{col 69}{space 3}-.0082462
{txt}{space 9}2009  {c |}{col 16}{res}{space 2}-.0448285{col 28}{space 2} .0228553{col 39}{space 1}   -1.96{col 48}{space 3}0.050{col 56}{space 4} -.089719{col 69}{space 3} .0000619
{txt}{space 9}2010  {c |}{col 16}{res}{space 2}-.0210651{col 28}{space 2} .0173112{col 39}{space 1}   -1.22{col 48}{space 3}0.224{col 56}{space 4}-.0550662{col 69}{space 3}  .012936
{txt}{space 9}2011  {c |}{col 16}{res}{space 2}-.0592993{col 28}{space 2} .0244829{col 39}{space 1}   -2.42{col 48}{space 3}0.016{col 56}{space 4}-.1073864{col 69}{space 3}-.0112122
{txt}{space 9}2012  {c |}{col 16}{res}{space 2}-.0356106{col 28}{space 2} .0222049{col 39}{space 1}   -1.60{col 48}{space 3}0.109{col 56}{space 4}-.0792234{col 69}{space 3} .0080023
{txt}{space 9}2013  {c |}{col 16}{res}{space 2}-.0381223{col 28}{space 2} .0235298{col 39}{space 1}   -1.62{col 48}{space 3}0.106{col 56}{space 4}-.0843374{col 69}{space 3} .0080928
{txt}{space 9}2014  {c |}{col 16}{res}{space 2}-.0528986{col 28}{space 2} .0238517{col 39}{space 1}   -2.22{col 48}{space 3}0.027{col 56}{space 4} -.099746{col 69}{space 3}-.0060512
{txt}{space 9}2015  {c |}{col 16}{res}{space 2} -.039439{col 28}{space 2} .0233838{col 39}{space 1}   -1.69{col 48}{space 3}0.092{col 56}{space 4}-.0853674{col 69}{space 3} .0064894
{txt}{space 14} {c |}
{space 9}_cons {c |}{col 16}{res}{space 2} .8388267{col 28}{space 2} .1174814{col 39}{space 1}    7.14{col 48}{space 3}0.000{col 56}{space 4}   .60808{col 69}{space 3} 1.069573
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: ATET estimate adjusted for covariates,{txt} group effects, and time effects.{p_end}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. // lowtech and hightech subsets
. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. didregress (f1useconsultant logat mtbrW netppeW firmriskW roaW mraw_window_1W lfirmage) (did) if lowtech==1, group(unionized) time(fyear) vce(cluster gvkey)
{res}
{txt}Number of groups and treatment time

Time variable: {result:fyear}
Control:       {result:did} = {result:0}
Treatment:     {result:did} = {result:1}
{res}{txt}{hline 13}{c TT}{hline 10}{hline 11}
{col 14}{c |}   Control{col 25}  Treatment
{hline 13}{c +}{hline 10}{hline 11}
{res}Group        {txt}{c |}
{space 3}unionized {c |}{col 14}{res}{space 1}        1{col 25}{space 2}        1
{txt}{hline 13}{c +}{hline 10}{hline 11}
{res}Time         {txt}{c |}
{space 5}Minimum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{space 5}Maximum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{hline 13}{c BT}{hline 10}{hline 11}

{col 1}Difference-in-differences regression{col 60}{lalign 13:Number of obs}{col 73} = {res}{ralign 3:424}
{txt}Data type: Repeated cross-sectional

{res}{txt}{ralign 80:(Std. err. adjusted for {res:60} clusters in {res:gvkey})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}f1useconsult~t{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATET           {txt}{c |}
{space 11}did {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} .1510416{col 28}{space 2} .0804107{col 39}{space 1}    1.88{col 48}{space 3}0.065{col 56}{space 4}-.0098597{col 69}{space 3}  .311943
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: ATET estimate adjusted for covariates,{txt} group effects, and time effects.{p_end}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. didregress (f1useconsultant logat mtbrW netppeW firmriskW roaW mraw_window_1W lfirmage) (did) if hightech==1, group(unionized) time(fyear) vce(cluster gvkey)
{res}
{txt}Number of groups and treatment time

Time variable: {result:fyear}
Control:       {result:did} = {result:0}
Treatment:     {result:did} = {result:1}
{res}{txt}{hline 13}{c TT}{hline 10}{hline 11}
{col 14}{c |}   Control{col 25}  Treatment
{hline 13}{c +}{hline 10}{hline 11}
{res}Group        {txt}{c |}
{space 3}unionized {c |}{col 14}{res}{space 1}        1{col 25}{space 2}        1
{txt}{hline 13}{c +}{hline 10}{hline 11}
{res}Time         {txt}{c |}
{space 5}Minimum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{space 5}Maximum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{hline 13}{c BT}{hline 10}{hline 11}

{col 1}Difference-in-differences regression{col 60}{lalign 13:Number of obs}{col 73} = {res}{ralign 3:891}
{txt}Data type: Repeated cross-sectional

{res}{txt}{ralign 80:(Std. err. adjusted for {res:155} clusters in {res:gvkey})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}f1useconsult~t{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATET           {txt}{c |}
{space 11}did {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2}  .014616{col 28}{space 2} .0498666{col 39}{space 1}    0.29{col 48}{space 3}0.770{col 56}{space 4}-.0838948{col 69}{space 3} .1131268
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: ATET estimate adjusted for covariates,{txt} group effects, and time effects.{p_end}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. drop if vega==.
{txt}(84 observations deleted)

{com}. drop totallvega avg_lvega adjlvega
{txt}
{com}. by sic2 fyear, sort: egen totallvega = total(lvega)
{txt}
{com}. by sic2 fyear: gen avg_lvega = (totallvega-lvega)/(_N-1)
{txt}(70 missing values generated)

{com}. gen adjlvega = lvega  - avg_lvega
{txt}(70 missing values generated)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. didregress (f1useconsultant logat mtbrW netppeW firmriskW roaW mraw_window_1W lfirmage) (did) if adjlvega>0, group(unionized) time(fyear) vce(cluster gvkey)
{res}
{txt}Number of groups and treatment time

Time variable: {result:fyear}
Control:       {result:did} = {result:0}
Treatment:     {result:did} = {result:1}
{res}{txt}{hline 13}{c TT}{hline 10}{hline 11}
{col 14}{c |}   Control{col 25}  Treatment
{hline 13}{c +}{hline 10}{hline 11}
{res}Group        {txt}{c |}
{space 3}unionized {c |}{col 14}{res}{space 1}        1{col 25}{space 2}        1
{txt}{hline 13}{c +}{hline 10}{hline 11}
{res}Time         {txt}{c |}
{space 5}Minimum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{space 5}Maximum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{hline 13}{c BT}{hline 10}{hline 11}

{col 1}Difference-in-differences regression{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:2,084}
{txt}Data type: Repeated cross-sectional

{res}{txt}{ralign 80:(Std. err. adjusted for {res:445} clusters in {res:gvkey})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}f1useconsult~t{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATET           {txt}{c |}
{space 11}did {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} .0569595{col 28}{space 2} .0262561{col 39}{space 1}    2.17{col 48}{space 3}0.031{col 56}{space 4} .0053579{col 69}{space 3} .1085611
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: ATET estimate adjusted for covariates,{txt} group effects, and time effects.{p_end}

{com}. 
{txt}end of do-file

{com}. do "C:\Users\akprevos\AppData\Local\Temp\STD45bc_000000.tmp"
{txt}
{com}. didregress (f1useconsultant logat mtbrW netppeW firmriskW roaW mraw_window_1W lfirmage) (did) if adjlvega<0, group(unionized) time(fyear) vce(cluster gvkey)
{res}
{txt}Number of groups and treatment time

Time variable: {result:fyear}
Control:       {result:did} = {result:0}
Treatment:     {result:did} = {result:1}
{res}{txt}{hline 13}{c TT}{hline 10}{hline 11}
{col 14}{c |}   Control{col 25}  Treatment
{hline 13}{c +}{hline 10}{hline 11}
{res}Group        {txt}{c |}
{space 3}unionized {c |}{col 14}{res}{space 1}        1{col 25}{space 2}        1
{txt}{hline 13}{c +}{hline 10}{hline 11}
{res}Time         {txt}{c |}
{space 5}Minimum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{space 5}Maximum {c |}{col 14}{res}{space 1}     2006{col 25}{space 2}     2011
{txt}{hline 13}{c BT}{hline 10}{hline 11}

{col 1}Difference-in-differences regression{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:1,446}
{txt}Data type: Repeated cross-sectional

{res}{txt}{ralign 80:(Std. err. adjusted for {res:376} clusters in {res:gvkey})}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}f1useconsult~t{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATET           {txt}{c |}
{space 11}did {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} .0184513{col 28}{space 2} .0381766{col 39}{space 1}    0.48{col 48}{space 3}0.629{col 56}{space 4}-.0566157{col 69}{space 3} .0935183
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: ATET estimate adjusted for covariates,{txt} group effects, and time effects.{p_end}

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\Old papers\short union paper\FM RR1\FM data archive code and tables\Table 4 log file.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}17 Feb 2025, 13:54:06
{txt}{.-}
{smcl}
{txt}{sf}{ul off}